package com.yc.backstage.service;

import com.yc.backstage.entity.SysDictData;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @Classname SysDictDataController
* @Description
* @Version 1.0.0
* @Date 2022-08-23 11:49:19
* @Created by Mikechen
*/
public interface SysDictDataService extends IService<SysDictData> {

    /**
     * 根据字典id查询字典数据
     */
    List<SysDictData> selectDictDataById(Long dictCode);
    /**
     * 根据字典type查询字典数据
     */
    List<SysDictData> selectDictDataByType(String dictType);
}
